#ifndef __CROSSFIRE_VOLUMEFOG
#define __CROSSFIRE_VOLUMEFOG

class CCF_VolumeFog
{
private:
	LPDIRECT3DDEVICE9 m_pDevice;
	LPD3DXMESH m_pFogMesh;

	D3DXVECTOR3 m_vPos;
	D3DXVECTOR3 m_vSize;

	CCF_Shader* m_pShader;
public:
	CCF_VolumeFog();
	~CCF_VolumeFog();
	
	BOOL Initialize(LPDIRECT3DDEVICE9 pDevice, D3DXVECTOR3 m_vPos, D3DXVECTOR3 m_vSize);
	void Render(CCF_Camera *camera);

	void SetPos(D3DXVECTOR3 vPos);
	void SetSize(D3DXVECTOR3 vSize);

	void SetTransform(D3DXVECTOR3 vPos, D3DXVECTOR3 vSize);
};


#endif